package com.kaijie.mapper.local;

import com.kaijie.entity.CloudPcbinfom;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * @Author pxh
 * @TODO TODO
 * @Date 2017/7/4
 */
@Repository
public class CloudPcbinfomMapper {

    @Resource
    @Qualifier("localSqlSessionTemplate")
    private SqlSessionTemplate localSqlSessionTemplate;

    public void save(CloudPcbinfom cloudPcbinfom) {
        localSqlSessionTemplate.insert(this.getClass().getCanonicalName() + ".save", cloudPcbinfom);
    }
}
